ElasticPress\Feature\WooCommerce\Orders S

Total Complexity 50
Dependencies 3
Dependents 1
Total lines 466
Lines of code 246
Logical lines of code 97
Comment lines 169
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
add_order_items_search()
A
52 9 22
search_order()
A
56 8 16
maybe_set_search_fields()
S
44 4 49
maybe_hook_woocommerce_search_fields()
S
61 6 11
__call()
S
48 4 37
should_integrate_with_query()
S
62 5 11
allow_meta_keys()
S
50 2 34
translate_args()
S
62 3 12
bypass_order_permissions_check()
S
68 2 7
keep_order_fields()
S
68 2 7
get_supported_post_types()
S
60 1 15
__construct()
S
81 1 3
setup()
S
63 1 9
tear_down()
S
64 1 9
get_admin_searchable_post_types()
S
75 1 4